diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-31 10:20:51 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-31 10:20:51 +0100 |
| commit | 30a256d434f5cab7feeef16836fbf1e00ad5f83b (patch) | |
| tree | fe24b6b13f0317508f23c3d460c8a1bb54265d23 /src/pages/[locale] | |
| parent | 737e6161f47657b96a567de20ea5e3f0ef08e3bb (diff) | |
Adds RSS button
Diffstat (limited to 'src/pages/[locale]')
| -rw-r--r-- | src/pages/[locale]/index.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index 39db161..f031e8e 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -27,7 +27,7 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale); <NewsIndex newsItems={mostRecentNewsItem ? [mostRecentNewsItem] : []} headingLevel="h3" /> { mostRecentNewsItem && ( - <Button layoutClasses="grid-span-3 grid-prose-end" href={`/${locale}/news`}> + <Button classNames="grid-span-3 grid-prose-end" href={`/${locale}/news`}> {t(tPage, { key: 'aw-news' })} ▶ </Button> ) @@ -73,7 +73,7 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale); <section> <h2 set:html={t(tPage, { key: 'furthsettins' })} /> <p set:html={t(tPage, { key: 'furthsettins-para' })} /> - <Button layoutClasses="grid-span-3 grid-prose-end" href={`/${locale}/furthsettins`}> + <Button classNames="grid-span-3 grid-prose-end" href={`/${locale}/furthsettins`}> {t(tPage, { key: 'aw-furthsettins' })} ▶ </Button> </section> |
